package com.kui.demo.repeatsubmit;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RepeatSubmitConfig {
    @Bean
    RepeatSubmitAspect repeatSubmitAspect() {
        SimpleRepeatSubmitTicket caffeineTicket = new SimpleRepeatSubmitTicket();
        return new RepeatSubmitAspect(caffeineTicket);
    }
}
